package com.fick.util;

import java.util.ArrayList;
import java.util.List;

public class AjaxPageDTO {

	/** int pageSize ÿҳ��¼���� */
	private int pageSize = 10;

	/** int pageId ��ǰҳ */
	private int pageId = 1;

	/** int totalCount �ܼ�¼�� */
	private int totalCount;

	/** int pageCount ��ҳ�� */
	private int pageCount;

	/** boolean isFirst �Ƿ��һҳ */
	private boolean isFirst = true;

	/** boolean isLast �Ƿ����һҳ */
	private boolean isLast = false;

	/** boolean hasNext �Ƿ�����һҳ */
	private boolean hasNext = false;

	/** boolean hasPre �Ƿ���ǰһҳ */
	private boolean hasPrev = false;

	/** String hql ��ѯ��� */
	private String hql = "";

	/** String go �������� */
	private String go = "first";

	/** int listStep ��ҳҳ����ʾ�������Ŀ */
	private int listStep = 10;

	/** int listBegin ҳ����ʾ�Ŀ�ʼ */
	private int listBegin = 1;

	/** int listEnd ҳ����ʾ�Ľ��� */
	private int listEnd = 10;

	/** List pages ��ʾ��ҳ��� */
	private List<Integer> pages = new ArrayList<Integer>();

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageId() {
		return pageId;
	}

	public void setPageId(int pageId) {
		this.pageId = pageId;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public boolean getIsFirst() {
		return isFirst;
	}

	public void setIsFirst(boolean isFirst) {
		this.isFirst = isFirst;
	}

	public boolean getIsLast() {
		return isLast;
	}

	public void setIsLast(boolean isLast) {
		this.isLast = isLast;
	}

	public boolean getHasNext() {
		return hasNext;
	}

	public void setHasNext(boolean hasNext) {
		this.hasNext = hasNext;
	}

	public boolean getHasPrev() {
		return hasPrev;
	}

	public void setHasPrev(boolean hasPrev) {
		this.hasPrev = hasPrev;
	}

	public String getHql() {
		return hql;
	}

	public void setHql(String hql) {
		this.hql = hql;
	}

	public String getGo() {
		return go;
	}

	public void setGo(String go) {
		this.go = go;
	}

	public int getListStep() {
		return listStep;
	}

	public void setListStep(int listStep) {
		this.listStep = listStep;
	}

	public int getListBegin() {
		return listBegin;
	}

	public void setListBegin(int listBegin) {
		this.listBegin = listBegin;
	}

	public int getListEnd() {
		return listEnd;
	}

	public void setListEnd(int listEnd) {
		this.listEnd = listEnd;
	}

	public List<Integer> getPages() {
		return pages;
	}

	public void setPages(List<Integer> pages) {
		this.pages = pages;
	}

}
